package com.system.provider;

import com.am.ui.grid.AbstractBaseGridProvider;
import com.system.uitls.SearchFilter;
import java.util.Map;

public class RoleListProvider extends AbstractBaseGridProvider
{
  public String generateSql(Map<String, Object> map)
  {
    StringBuffer sf = new StringBuffer("SELECT id,name,notes,create_time,modify_time,create_user FROM sys_role WHERE 1=1");

    sf.append(SearchFilter.getSearchSql(map, null));

    setParamMap(map);
    return sf.toString();
  }
}